#-*- coding: UTF-8 -*-
'''
var = 10
while var > 0:
    print '当前变量值为：',var
    var = var - 1
    if var == 5:
        break
print 'goodbye'
'''
for letter in 'python':
    if letter == 'h':
        continue
    print ('当前字母为 ：',letter)

var = 10
while var > 0:
    var = var - 1
    if var == 4:
        continue    #continue 跳出本次循环
    print ("当前变量为 ：",var)
print ('加油')

# 100以内的奇数
n = 0
while n < 100:
    n = n + 1
    if n % 2 == 0:
        continue
    print (n)
# 100以内的偶数
n = 0
while n < 100:
    n = n + 1
    if (n % 2!=0):
        continue
    print (n)
var1 =10
while var1>0:
    var1 =var1-1
    if var1==5 &var1==8:
        continue
    print ("当前值 :",var1)
print ('加油')
